#ifndef MYWIDGET_H
#define MYWIDGET_H
#include"widget.h"
#include <QWidget>
#include<QSoundEffect>
namespace Ui {
class MyWidget;
}

class MyWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MyWidget(QWidget *parent = nullptr);
    ~MyWidget();

    //音频播放
    QSoundEffect*sound=new QSoundEffect(this);

    void paintEvent(QPaintEvent*Event) override;


    Widget * page2=NULL;
    int time;
private:
    Ui::MyWidget *ui;
};

#endif // MYWIDGET_H
